import { request } from '@/api/request'

// 调起收银台
export function pay(paymentMethod, paymentClient, params) {
  return request({
    url: '/payment/cashier/pay/' + paymentMethod + '/' + paymentClient,
    method: 'get',
    params
  })
}

// 支付信息
export function balanceOrder(data) {
  return request({
    url: '/system/balance/order',
    method: 'post',
    data
  })
}

// 对公账户充值
export function accountLog(data) {
  return request({
    url: '/system/accountLog',
    method: 'post',
    data
  })
}

// 查询扫码支付结果
export function cashierResult(params) {
  return request({
    url: '/payment/cashier/result',
    method: 'get',
    params
  })
}
